package com.whw.fy.service;

import com.whw.fy.entity.AttendanceStu;
import com.whw.fy.entity.Message;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AttendanceStuService {


    Message deleteByPrimaryKey(Integer attStuId);

    Message insert(AttendanceStu record);

    Message insertSelective(AttendanceStu record);

    Message selectByPrimaryKey(Integer attStuId);

    Message updateByPrimaryKeySelective(AttendanceStu record);

    Message updateByPrimaryKey(AttendanceStu record);

    Message batchInsert(int classId, List<AttendanceStu> list);

    Message selectAll();

    Message selectStudentByClassIDAndCompletionTimes(int classId, int CompletionTimes);

    Message selectByStudentIdAndAttendance(int studentId, int attendance);

    Message selectByStudentId(int studentId);

    Message selectStudentByClassIDAndCompletionTimesAdmin(int classId, int CompletionTimes);

    int batchInsert(List<AttendanceStu> list);

    Message selectAllByStudentIdAndCompletionTimesAndClassId(Integer studentId, Integer completionTimes, Integer classId);

    int updateBatch(List<AttendanceStu> list);

    int updateBatchSelective(List<AttendanceStu> list);
}





